package com.fowo.api.model.product;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import javax.validation.constraints.*;
import lombok.Data;

/** 产品价格 导入导出辅助模型 */
@Data
public class ProductPriceExcelPo {

  @Size(max = 50, message = "sku长度不能超过20")
  @ExcelProperty(value = "sku")
  private String sku;

  @ExcelProperty(value = "产品")
  private String productIdName;

  @ExcelIgnore
  @ExcelProperty(value = "产品")
  private Long productId;

  @ExcelProperty(value = "产品分组")
  private String productGroupName;

  @ExcelIgnore
  @ExcelProperty(value = "产品分组")
  private Long productGroup;

  @ExcelProperty(value = "定价类型")
  private String priceType;

  @ExcelProperty(value = "价格系数")
  private java.math.BigDecimal priceCoefficient;

  @ExcelProperty(value = "价格")
  private java.math.BigDecimal price;
}
